import { Button, Result } from 'antd';
import { Link } from 'react-router-dom';

const NotFound = () => (
  <Result
    status="404"
    title="404/401"
    subTitle="找不到页面或无权限访问"
    extra={<Link to="/general"><Button type="primary">我要回家</Button></Link>}
  />
)

export default NotFound
